package com.mvc.beans;

import java.sql.Date;

/**
 * @author a1926
 * 一条考勤记录
 */
public class AttendanceRecords extends Records{

    private Integer employeeId;
    private Integer state;

    public AttendanceRecords() {
    }

    public AttendanceRecords(Integer recordsId, Integer employeeId, Date time, Integer state) {
        super(recordsId, time);
        this.employeeId = employeeId;
        this.state = state;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "AttendanceRecords{" +
                "recordsId=" + recordsId +
                ", employeeId=" + employeeId +
                ", time=" + time +
                ", state=" + state +
                '}';
    }
}
